﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace HML.Demo
{
    public interface IItemFormTemplate
    {
        /// <summary>
        /// 视图窗体是否显示中
        /// </summary>
        bool ViewVisible { get; set; }

        /// <summary>
        /// 窗口视图状态
        /// </summary>
         ItemFormTemplateStatus ViewStatus { get; set; }

        /// <summary>
        /// 请求数据
        /// </summary>
        ItemFormTemplateViewObject AsynchRequestTask(ItemFormTemplateViewObject view);

        /// <summary>
        /// 绑定数据
        /// </summary>
        void DataBind(ItemFormTemplateViewObject view);

        /// <summary>
        /// 显示视图窗体
        /// </summary>
        void ShowView();

        /// <summary>
        /// 隐藏视图窗体
        /// </summary>
        void HideView();

        /// <summary>
        /// 关闭视图窗体
        /// </summary>
        void CloseView();
    }

}
